package com.utils;

public class MysqlColumn {

	/** 列名称 */
	private String columnName;

	/** 列描述 */
	private String columnComment;

	/** 列类型 */
	private String columnType;

	/** JAVA类型 */
	private String javaType;

	/** JAVA字段名 */
	private String javaField;

	/** JAVA字段名 */
	private String javaFieldBig;

	/** 是否主键（1是） */
	private boolean isPk = false;

	/** 是否日期时间（1是） */
	private boolean isDate = false;

	/** 是否数字（1是） */
	private boolean isNum = false;

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getColumnComment() {
		return columnComment;
	}

	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}

	public String getColumnType() {
		return columnType;
	}

	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}

	public String getJavaType() {
		return javaType;
	}

	public void setJavaType(String javaType) {
		this.javaType = javaType;
	}

	public String getJavaField() {
		return javaField;
	}

	public void setJavaField(String javaField) {
		this.javaField = javaField;
		this.javaFieldBig = StrUtil.toFirstBig(javaField);
	}

	public boolean getIsPk() {
		return isPk;
	}

	public void setIsPk(boolean isPk) {
		this.isPk = isPk;
	}

	public String getJavaFieldBig() {
		return javaFieldBig;
	}

	public void setJavaFieldBig(String javaFieldBig) {
		this.javaFieldBig = javaFieldBig;
	}

	public boolean getIsDate() {
		return isDate;
	}

	public void setIsDate(boolean isDate) {
		this.isDate = isDate;
	}

	public boolean getIsNum() {
		return isNum;
	}

	public void setIsNum(boolean isNum) {
		this.isNum = isNum;
	}
	
}
